package com.star;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import tk.mybatis.spring.annotation.MapperScan;

@EnableFeignClients
@EnableEurekaClient
@MapperScan("com.star.sys.mapper")
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@RestController
public class StarSysApplication {

    public static void main(String[] args) {

        SpringApplication.run(StarSysApplication.class, args);
    }
    @RequestMapping("/")
    public String test(){
        return "de'mo";
    }
}
